import request from '@/utils/request.js'
// 查询地址
export function list(val) {
	return request({
		url: '/med-front-mine/address/query',
		method: 'get',
		params: val
	})
}

// 添加地址
export function insertAddress(val) {
	return request({
		url: '/med-front-mine/address/insert',
		method: 'get',
		params: val
	})
}
// 删除地址
export function deleteaddress(val) {
	return request({
		url: '/med-front-mine/address/delete',
		method: 'get',
		params: val
	})
}

// 查询单条地址
export function queryoneaddress(val) {
	return request({
		url: '/med-front-mine/address/queryone',
		method: 'get',
		params: val
	})
}
// 修改地址
export function updateaddress(val) {
	return request({
		url: '/med-front-mine/address/update',
		method: 'get',
		params: val
	})
}